package com.zhoust.idworker.controller;

import org.n3r.idworker.Sid;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 15703
 * @version 1.0
 * @Title
 * @package com.zhoust.idworker.controller
 * @date 2021/4/23 18:10
 * @desc
 */
@RestController
public class IdWorkerTestController {


    @GetMapping("getId")
    public String getId(){
        //gost
        return Sid.next();
    }
}
